package com.utbm.lo54.dao;

import java.util.Date;
import java.util.Set;

import com.utbm.lo54.entity.Course;
import com.utbm.lo54.entity.Location;
import com.utbm.lo54.entity.Session;

public interface SessionDAOInterface {
	
	public static enum SessionProperties {
		
		ID, 
		STARTDATE,
		ENDDATE,
		COURSE_CODE,
		LOCATION_ID,
		TYPE
	}
	
	Session create(Session se);
	Session findById(Long id);
	Session findByDate(Date begin, Date end);
	Set<Session> findByCourse(String code);
	void update(Session se);
	void delete(Session se);
	Set<Session> getAllSession();

	

	}
